//
//  CSound.h
//  Mario_project
//
//  Created by Vincent Descreux on 19/06/13.
//  Copyright (c) 2013 Vincent Descreux. All rights reserved.
//

#ifndef __Mario_project__CSound__
#define __Mario_project__CSound__

#include <iostream>
#include <SDL_mixer/SDL_mixer.h>


class CSound {

public:
    static CSound MixerControl;
    CSound();
    ~CSound();

public:
    Mix_Music *Music;
    Mix_Chunk *Saut;
    Mix_Chunk *Piece;
    Mix_Chunk *PowerUp;
    Mix_Chunk *PowerUpAppears;
    Mix_Chunk *Yoshi;
    Mix_Chunk *Pikachu;
    Mix_Chunk *Life;
    Mix_Chunk *Death;
    Mix_Chunk *Start;
    Mix_Chunk *End;
    Mix_Chunk *Baby_hit;
    Mix_Chunk *Big_hit;
    Mix_Chunk *Checkpoint;
    Mix_Chunk *Finish;
    Mix_Chunk *CourseClear;
	Mix_Chunk *PikaPika;

    
public:
    void PlayMusic(Mix_Music *Music);
    void PlaySound(Mix_Chunk *Sound);
    void StopMusic();
    bool OnLoad();

};

#endif /* defined(__Mario_project__CSound__) */
